package com.tarena.lbs.activity.service;


import com.tarena.lbs.activity.pojo.param.ActivityAddParam;
import com.tarena.lbs.activity.pojo.query.ActivityQuery;
import com.tarena.lbs.activity.pojo.vo.ActivityVO;
import com.tarena.lbs.base.protocol.exception.BusinessException;
import com.tarena.lbs.base.protocol.pager.PageResult;

public interface ActivityService {

    void activitySave(ActivityAddParam param) throws BusinessException;

    ActivityVO activityDetail(Integer id);

    PageResult<ActivityVO> pageList(ActivityQuery query) throws BusinessException;


    void deleteById(Integer id);

    void updateStatus(Integer id, Integer status);
}
